import pytest

# 默认是function
@pytest.fixture(autouse=True)
def fun():
    print("---fixture")


def test_a():
    print("--------------test_a")


class Test01:
    def test_b(self):
        print("--------------test_b")

    def test_c(self):
        print("--------------test_c")